//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamSmsNoticeDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IExamSmsNoticeService;
//import com.rt.schedulebase.entity.ExamSmsNotice;
//import com.rt.schedulebase.mapper.ExamSmsNoticeMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class ExamSmsNoticeServiceImpl extends ServiceImpl<ExamSmsNoticeMapper, ExamSmsNotice> implements IExamSmsNoticeService {
//    @Override
//    public boolean insertSelective(final ExamSmsNotice examSmsNotice) {
//        return this.retBool(Integer.valueOf(((ExamSmsNoticeMapper) this.baseMapper).insert(examSmsNotice)));
//    }
//    @Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamSmsNoticeMapper) this.baseMapper).deleteById((Serializable) key)));
//    }
//    @Override
//    public boolean updateByPrimaryKeySelective(final ExamSmsNotice examSmsNotice) {
//        return this.retBool(Integer.valueOf(((ExamSmsNoticeMapper) this.baseMapper).updateById(examSmsNotice)));
//    }
//    @Override
//    public ExamSmsNotice selectByPrimaryKey(final String key) {
//        return (ExamSmsNotice) ((ExamSmsNoticeMapper) this.baseMapper).selectById((Serializable) key);
//    }
//    @Override
//    public List<ExamSmsNotice> getList(final ExamSmsNoticeDto dto) {
//        final QueryWrapper<ExamSmsNotice> qw = (QueryWrapper<ExamSmsNotice>) new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", dto.getApplyNo());
//        map.put("PHONE_NUMBER", dto.getPhoneNumber());
//        map.put("SEND_STATUS", dto.getSendStatus());
//        map.put("SEND_COUNT", dto.getSendCount());
//        map.put("CREATE_DATE", dto.getCreateDate());
//        qw.allEq((Map) map, false);
//        final List<ExamSmsNotice> list = (List<ExamSmsNotice>) ((ExamSmsNoticeMapper) this.baseMapper).selectList((Wrapper) qw);
//        return list;
//    }
//    @Override
//    public List<ExamSmsNotice> getListAll() {
//        return (List<ExamSmsNotice>) ((ExamSmsNoticeMapper) this.baseMapper).selectList((Wrapper) null);
//    }
//    @Override
//    public boolean delete(final ExamSmsNotice examSmsNotice) {
//        final UpdateWrapper<ExamSmsNotice> uw = (UpdateWrapper<ExamSmsNotice>) new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("SMS_NO", examSmsNotice.getExamNo());
//        uw.allEq((Map) map, false);
//        return this.retBool(Integer.valueOf(((ExamSmsNoticeMapper) this.baseMapper).delete((Wrapper) uw)));
//    }
//    @Override
//    public boolean update(final ExamSmsNotice examSmsNotice) {
//        final UpdateWrapper<ExamSmsNotice> uw = (UpdateWrapper<ExamSmsNotice>) new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map) map, false);
//        return this.retBool(Integer.valueOf(((ExamSmsNoticeMapper) this.baseMapper).update(examSmsNotice, (Wrapper) uw)));
//    }
//    @Override
//    public ExamSmsNotice getInfo(final ExamSmsNoticeDto dto) {
//        final QueryWrapper<ExamSmsNotice> qw = (QueryWrapper<ExamSmsNotice>) new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", dto.getApplyNo());
//        map.put("PHONE_NUMBER", dto.getPhoneNumber());
//        map.put("SEND_STATUS", dto.getSendStatus());
//        map.put("SEND_COUNT", dto.getSendCount());
//        map.put("CREATE_DATE", dto.getCreateDate());
//        map.put("SMS_NO", dto.getSmsNo());
//        qw.allEq((Map) map, false);
//        return (ExamSmsNotice) ((ExamSmsNoticeMapper) this.baseMapper).selectOne((Wrapper) qw);
//    }
//}
